<?php
/*
 * item File
 *
 * @link http://riedel-st.de
 * @author Stefan Riedel <sr@riedel-st.de>
 */

?>
<?php $this->pageTitle=Yii::app()->name . ' :: ' . Yii::t('crm', 'Berechtigungsobjekte anzeigen/erstellen'); ?>
<h3><?=Yii::t('crm', 'Berechtigungsobjekte (Rollen, Gruppen, Operationen)')?></h3>
<?php $this->beginWidget('littlecrm.web.widgets.CRMJqueryUiTabsWidget', array('name'=>'items_panel')); ?>
    <?php $this->beginWidget('littlecrm.web.widgets.CRMJqueryUiTabWidget', array('name'=>'showItems', 'title'=>Yii::t('crm', 'zeige Objekte'))); ?>
        <?php $this->renderPartial('tabs/showItems', array('result' => $result, 'itemModel' => $itemModel)) ?>
    <?php $this->endWidget()?>
    <?php $this->beginWidget('littlecrm.web.widgets.CRMJqueryUiTabWidget', array('name'=>'addItems', 'title'=>Yii::t('crm', 'Objekt anlegen'))); ?>
        <?php $this->renderPartial('tabs/addItem', array('itemModel' => $itemModel)); ?>
    <?php $this->endWidget()?>
<?php $this->endWidget()?>